package mode.template13;


/**
 * 模板设计模式
 * https://blog.csdn.net/qq_54773252/article/details/121047949
 *
 */

public class TemplateDemo {

    public static void main(String[] args) {
        Dish eggsWithTomato = new EggsWithTomato();
        eggsWithTomato.dodish();

        System.out.println("-----------------------------");

        Dish bouilli = new Bouilli();
        bouilli.dodish();
    }

}
